package chain.example;

/**
 * @Author：LJ
 * @Description：
 * @Date: 2017/11/30
 * @Modified By:
 */
public class SonHandler extends Handler {
    public SonHandler() {
        super(Handler.SON_LEVEL_REQUEST);
    }

    //处理责任业务
    @Override
    protected void response(IWoman woman) {
        System.out.println("-----女儿向儿子请示------");
        System.out.println(woman.getRequest());
        System.out.println("儿子的答复：同意");
    }
}
